<?php
namespace app\adminapi\controller;

class Index extends BaseApi
{
    public function index()
    {
    //    $goods = \think\Db::table('pyg_goods')->select();
    //    dump($goods);
        // $this->ok(['action' => 'index']);
        $token = \tools\jwt\Token::getToken(100);
        dump($token);
        $user_id = \tools\jwt\Token::getUserId($token);
        dump($user_id);
    }
}
